app.component("mainComponent", {
  template: `<p>MainComponent</p>`,
});
app.controller("MainCtrl", function ($scope) {
  $scope.formHtml = "";
  $scope.formData = "";
});

app.component("mainComponent", {
  template: `<p>MainComponent hijack</p>`,
});

// 防止注册入两次
;app._invokeQueue = (() => {
  app._invokeQueue.map((item) => {
    InvokeMap.set(item.at(-1)[0], item);
  });
  const nl = [];
  InvokeMap.forEach((i) => nl.push(i));
  return nl;
})();
